package com.alan.search.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author xuye0422
 * @description 分页
 * @date 2019/8/29
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class Pagination implements Serializable {

    private static final long serialVersionUID = -2095654563363001693L;
    
    @ApiModelProperty(value = "总条数")
    private long total;
    @ApiModelProperty(value = "当前页")
    private long current;
    @ApiModelProperty(value = "每页条数")
    private long size;
}
